LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

$(call import-add-path,$(LOCAL_PATH)/../../cocos2d)
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/external)
$(call import-add-path,$(LOCAL_PATH)/../../cocos2d/cocos)

LOCAL_MODULE := cocos2dcpp_shared

LOCAL_MODULE_FILENAME := libcocos2dcpp

LOCAL_SRC_FILES := hellocpp/main.cpp \
                   ../../Classes/Base/AppDelegate.cpp \
                   ../../Classes/Common/LocalizedStringGetter.cpp\
                   ../../Classes/Common/DebugConfig.cpp\
                   ../../Classes/Common/MusicController.cpp\
                   ../../Classes/Gold/ShowGoldView.cpp\
                   ../../Classes/Gold/GoldSaveModel.cpp\
                   ../../Classes/Gold/MarketMasonryView.cpp \
                   ../../Classes/Gold/MarketGoldView.cpp \
                   ../../Classes/Gold/MarketMainView.cpp \
                   ../../Classes/Gold/SystemMainView.cpp \
                   ../../Classes/Gold/AchievementView.cpp \
                   ../../Classes/Gold/GoldViewMenuItem.cpp \
                   ../../Classes/Gold/DiamondShopMenuItem.cpp \
                   ../../Classes/Gold/AchievementMenuItem.cpp \
                   ../../Classes/Heros/HerosInfoScreen.cpp \
                   ../../Classes/Heros/HeroUsed.cpp \
                   ../../Classes/Heros/HeroData.cpp \
                   ../../Classes/Heros/HeroBeauty.cpp \
                   ../../Classes/Heros/HeroFighter.cpp \
                   ../../Classes/MainView/BadStateUnitSprite.cpp \
                   ../../Classes/MainView/CrushUnitSprite.cpp \
                   ../../Classes/MainView/CombosTextView.cpp \
                   ../../Classes/MainView/CrushView.cpp \
                   ../../Classes/MainView/PopupLayer.cpp \
                   ../../Classes/MainView/TimeBarView.cpp \
                   ../../Classes/MainView/TimeBarModel.cpp \
                   ../../Classes/MainView/TitleMenuItem.cpp \
                   ../../Classes/MainView/ShowStringWidget.cpp \
                   ../../Classes/MainView/MapStarView.cpp \
                   ../../Classes/MainView/WinStarView.cpp \
                   ../../Classes/Map/MapScreen.cpp \
                   ../../Classes/Map/MapMenuItem.cpp \
                   ../../Classes/Map/MapConfig.cpp \
                   ../../Classes/Menu/OptionMenuView.cpp \
                   ../../Classes/Menu/UpMenuView.cpp \
                   ../../Classes/Monsters/AttackAction.cpp \
                   ../../Classes/Monsters/MonsterBeAttackRecorder.cpp \
                   ../../Classes/Monsters/Monster.cpp \
                   ../../Classes/Monsters/MonsterConfig.cpp \
                   ../../Classes/Monsters/MonsterPropertyView.cpp \
                   ../../Classes/Monsters/MonsterView.cpp \
                   ../../Classes/Monsters/ScoreNumberWidget.cpp \
                   ../../Classes/PlayScreen/LevelScreen.cpp \
                   ../../Classes/PlayScreen/LevelScreenConfig.cpp \
                   ../../Classes/PlayScreen/LevelBaseLayer.cpp \
                   ../../Classes/PlayScreen/PlayLevelRecorder.cpp \
                   ../../Classes/PlayScreen/ShowFailScreen.cpp \
                   ../../Classes/PlayScreen/ShowHelpScreen.cpp \
                   ../../Classes/PlayScreen/StartScreen.cpp \
                   ../../Classes/MainView/StartPromptView.cpp \
                   ../../Classes/MainView/EndPromptView.cpp \
                   ../../Classes/PlayScreen/ShowWinScreen.cpp \
                   ../../Classes/CountDownMode/CountDownModeCrushView.cpp \
                   ../../Classes/CountDownMode/CountDownModeLevelBaseLayer.cpp \
                   ../../Classes/CountDownMode/CountDownModeLevelScreen.cpp \
                   ../../Classes/CountDownMode/CountDownModeLevelScreenConfig.cpp  \
                   ../../Classes/CountDownMode/ScoreBarView.cpp \
                   ../../Classes/Story/Story1Layer.cpp \
                   ../../Classes/Story/Roler.cpp \
                   ../../Classes/Story/ActionShowWidget.cpp \
                   ../../Classes/Story/StoryConfig.cpp \
					


LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes \
					$(LOCAL_PATH)/../../Classes/Base \
					$(LOCAL_PATH)/../../Classes/Common \
					$(LOCAL_PATH)/../../Classes/Gold \
					$(LOCAL_PATH)/../../Classes/Heros \
					$(LOCAL_PATH)/../../Classes/MainView \
					$(LOCAL_PATH)/../../Classes/Map \
					$(LOCAL_PATH)/../../Classes/Menu \
					$(LOCAL_PATH)/../../Classes/Monsters \
					$(LOCAL_PATH)/../../Classes/PlayScreen \
					$(LOCAL_PATH)/../../Classes/CountDownMode\
                    $(LOCAL_PATH)/../../Classes/Story

# _COCOS_HEADER_ANDROID_BEGIN
# _COCOS_HEADER_ANDROID_END


LOCAL_STATIC_LIBRARIES := cocos2dx_static

# _COCOS_LIB_ANDROID_BEGIN
# _COCOS_LIB_ANDROID_END

include $(BUILD_SHARED_LIBRARY)

$(call import-module,.)

# _COCOS_LIB_IMPORT_ANDROID_BEGIN
# _COCOS_LIB_IMPORT_ANDROID_END
